package cn.visu.service;

import cn.visu.bean.Token;
import cn.visu.dao.TokenDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by 程振奇 on 2017/8/8.
 */
@Service
public class TokenService {
    @Autowired
    private TokenDao tokenDao;

    public Token findTokenByUserName(String username) {
        return tokenDao.findTokenByUserName(username);

    }
}
